﻿




#将登陆的相关数据存储到user.data中
# $UserData=@{}
# $UserFilePath="./.temp/.data/user.data"
# $UserFileBody=Get-Content -Path $UserFilePath -Encoding utf8 -Raw
# $LoginEntityName+=$UserFileBody
# $UserData.Add("entityName",$UserFileBody)
# $UserData.Add("LogInEntiCount",$LogInEntiCount)
# $UserData.Add("LogInEntiPass",$LogInEntiPass)

# if($UserData.Length -ne 0){
#     $UserDataJson=$UserData | ConvertTo-Json -Compress
#     [System.IO.File]::WriteAllLines($UserFilePath,$UserDataJson,$encoding)

#     #登陆的数据存到User.data中/ 项目目录中
#     $ProjectUserDataFile="./.data/user.data"
#     New-Item -ItemType File -Path $ProjectUserDataFile -Force | Out-Null
#     [System.IO.File]::WriteAllLines($ProjectUserDataFile,$UserDataJson,$encoding)
# }

